package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.DomainEntity;

import java.util.List;


public interface DomainDao {
    public DomainEntity queryByDomain(String domain);

    public List<DomainEntity> queryDomainListByParentId(long domainParentId);

    public List<DomainEntity> queryAllDomainList();

    public int insertDomain(DomainEntity domain);

    public DomainEntity selectDomainById(Long domainId);

    public int updateDomain(DomainEntity domain);
}
